<!doctype html>
<html class="no-js">

<head>
    <title>问答</title>
    <#include "/fd/components/meta.html" />
    <#include "/fd/components/stylesheets.html" />
    <link rel="stylesheet" type="text/css" href="/fd/stylesheets/questionList.css">
</head>

<body>
    <div id="app">
        <div class="nav-container">
            <div class="nav-item">
                <a href="#">
                    <div class="nav-item-icon">
                        <img src="/fd/assets/img/icon1.png" height="50" />
                    </div>
                    <div class="nav-item-container">
                        <div class="nav-item-title">情感婚恋</div>
                        <div class="nav-item-desc">恋爱，婚姻，桃花，脱单等</div>
                    </div>
                    <div class="nav-item-right">
                        <a href="/fd/questStep1">
                        <span>提问</span>
                        </a>
                    </div>
                    <div class="clear"></div>
                </a>
            </div>
            <div class="nav-item">
                <a href="#">
                    <div class="nav-item-icon">
                        <img src="/fd/assets/img/icon2.png" height="50" />
                    </div>
                    <div class="nav-item-container">
                        <div class="nav-item-title">事业财运</div>
                        <div class="nav-item-desc">职场，学业，创业，理财等</div>
                    </div>
                    <div class="nav-item-right">
                        <a href="/fd/questStep1">
                        <span>提问</span>
                        </a>
                    </div>
                    <div class="clear"></div>
                </a>
            </div>
            <div class="nav-item">
                <a href="#">
                    <div class="nav-item-icon">
                        <img src="/fd/assets/img/icon1.png" height="50" />
                    </div>
                    <div class="nav-item-container">
                        <div class="nav-item-title">情感婚恋</div>
                        <div class="nav-item-desc">恋爱，婚姻，桃花，脱单等</div>
                    </div>
                    <div class="nav-item-right">
                        <a href="/fd/questStep1">
                        <span>提问</span>
                        </a>
                    </div>
                    <div class="clear"></div>
                </a>
            </div>
            <div class="nav-item">
                <a href="#">
                    <div class="nav-item-icon">
                        <img src="/fd/assets/img/icon2.png" height="50" />
                    </div>
                    <div class="nav-item-container">
                        <div class="nav-item-title">事业财运</div>
                        <div class="nav-item-desc">职场，学业，创业，理财等</div>
                    </div>
                    <div class="nav-item-right">
                        <a href="/fd/questStep1">
                        <span>提问</span>
                        </a>
                    </div>
                    <div class="clear"></div>
                </a>
            </div>
        </div>
        <div class="question-list">
            <div class="question-list-top">
                <div class="question-list-count">已有&nbsp;${questionNum!''}&nbsp;个提问</div>
                <div class="question-list-sort">
                    <div class="am-dropdown" data-am-dropdown>
                        <#if type??>
                            <a class="am-dropdown-toggle" data-am-dropdown-toggle>按最新排序&nbsp;<span class="am-icon-caret-down"></span></a>
                            <#else>
                                <a class="am-dropdown-toggle" data-am-dropdown-toggle>按最热排序&nbsp;<span class="am-icon-caret-down"></span></a>
                        </#if>
                        <ul class="am-dropdown-content">
                            <li class="am-active">
                                <a href="/fd/questionList">按最热排序</a>
                            </li>
                            <li>
                                <a href="/fd/questionList?type=1">按最新排序</a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <!-- question list start -->
            <#list items as item>
                <div class="am-panel am-panel-default question-item">
                    <div class="am-panel-hd">
                        <div class="question-item-title">
                            <div class="question-item-user">
                                <img src="${item.logo!}" />&nbsp;${item.name!''}
                            </div>
                            <!-- <div class="question-item-category">提问来源：${item.tag!''}</div> -->
                            <div class="clear"></div>
                        </div>
                        <div class="question-item-time">
                            <time datetime="2013-07-27T04:54:29-07:00" title="2013年7月27日 下午7:54 格林尼治标准时间+0800">${item.addTime?string('yyyy-MM-dd mm:hh')}</time>
                        </div>
                        <div class="clear"></div>
                    </div>
                    <div class="am-panel-bd question-item-body">
                        <div class="question-item-content">
                            <span>${item.content!''}</span>
                        </div>
                        <a href="/fd/questionInfo/${item.code!''}">
                            <div class="question-item-bottom">
                                <img src="/fd/assets/img/limit-time-view.png" width="150" />
                                <div class="question-item-view">${item.visitCount!''}人查看</div>
                                <div class="clear"></div>
                            </div>
                        </a>
                    </div>
                </div>
            </#list>
            <!-- question list end -->
        </div>
        <#assign select = 2 />
        <#include "/fd/components/footer.html" />
    </div>
    <#include "/fd/components/scripts.html" />
    <script type="text/javascript" src="/fd/js/questionList.js"></script>
</body>

</html>